package com.dule.Medic.service;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.dule.Medic.model.Patient;

public interface PatientService 
{
	@CommitAfter      
	Long save(Patient patient);    
	@CommitAfter      
	boolean update(Patient patient);    
	@CommitAfter
	boolean deletePatient(Patient patient); 	
	
	List<Patient> retrieveAll();    
	
	Patient retrieveOne(Patient patient);  
	Patient retrieveOne(Long Id);
}
